package com.edu.exam.enums.curriculum.questionbank;

/**
 * 附件状态枚举
 * 
 * 试题附件的状态定义
 * 
 * @author System
 * @version 1.0.0
 */
public enum AttachmentStatus {
    UPLOADING("UPLOADING", "上传中"),
    ACTIVE("ACTIVE", "可用"),
    PROCESSING("PROCESSING", "处理中"),
    ERROR("ERROR", "错误"),
    DISABLED("DISABLED", "禁用");

    private final String code;
    private final String description;

    AttachmentStatus(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}